<template>
  <div class="card mt-3 p-3 bg-white border-bottom ">
    <div class="d-flex ai-center pb-3">
        <i class="iconfont mr-2" :class="`icon-${icon}`"></i>
        <h3 class="flex-1 fs-xxl  fw-bold ">{{title}}</h3>
    </div>
    <div class="card-body">
      <slot/>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    },
    icon: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss">
@import '../../assets/scss/variables.scss';
</style>
